package com.yn.club.subject.domain.convert;

import java.time.LocalDateTime;
import java.util.List;
import com.yn.club.subject.domain.entity.SubjectBriefDO;
import com.yn.club.subject.infra.basic.entity.SubjectBrief;

import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 简答题(SubjectBrief)DO和Entity转换
 *
 * @author YN
 * @since 2025-01-21 17:36:33
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface SubjectBriefDomainConverter {

  SubjectBrief convertDoToEntity(SubjectBriefDO ojb);
  
  List<SubjectBrief> convertDoToEntity(List<SubjectBriefDO> ojbs);
  
  SubjectBriefDO convertEntityToDo(SubjectBrief ojb);
  
  List<SubjectBriefDO> convertEntityToDo(List<SubjectBrief> ojbs);
  
  
}

